<?php include("header.php"); ?>

      <table width="400" height="275" cellpadding="15">
        <tr>
          <td height="50" colspan="2" class="style15 style14 style8"><span class="style16"><?php echo $titlequestion->question ?></span></td>
        </tr>
        <tr>
          <td width="38" height="158" ><div align="center"><img src="<?php echo $base ?>/images/point-arrow.gif" width="53" height="54" /></div>
            <p>&nbsp;</p>
          <p>&nbsp;</p></td>
          <td width="290" bgcolor="#EAEAEA"><p class="style4"><?php echo $question->question ?></p>
            <p align="right" class="style4 style14 style15">

                <span class="style15">&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;
<?php $yesQuestion = DAOFactory::getQuestionmasterDAO()->load($question->yesQuestionId);  ?>

                                <img border="0" id='button375' width="70" height="40"
            src="<?php echo $base ?>/images/button11856532.gif"
            onmouseover = 'document.getElementById("button375").src = "<?php echo $base ?>/images/button58719520.gif"'
            onmouseout =  'document.getElementById("button375").src = "<?php echo $base ?>/images/button11856532.gif"'
            onclick="<?php echo "window.location='".$base."/".$category->url."/".$question->yesQuestionId."/".$yesQuestion->url.".html'" ?>">
            
<?php $noQuestion = DAOFactory::getQuestionmasterDAO()->load($question->noQuestionId);  ?>

                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <img border="0" id='button854' width="70" height="40"
            src="<?php echo $base ?>/images/button87893648.gif"
            onmouseover = 'document.getElementById("button854").src = "<?php echo $base ?>/images/button13162786.gif"'
            onmouseout =  'document.getElementById("button854").src = "<?php echo $base ?>/images/button87893648.gif"'
            onclick="<?php echo "window.location='".$base."/".$category->url."/".$question->noQuestionId."/".$noQuestion->url.".html'" ?>">
            </p>
          </td>
        </tr>
        <tr>
          <td height="4">&nbsp;</td>
          <td height="4"><img border="0" id='button312' width=14px src="<?php echo $base; ?>/images/lft-arrow.jpg" 
							>
			<a href=' <?php 
			if($question->questionType==0){
				
                            echo $base."/categories/".$category->categoryMasterId."/0/".$category->url.".html";
			}else{
			   $parentQuestion = DAOFactory::getQuestionmasterDAO()->load($question->parentQuestionId);
                            echo $base."/".$category->url."/".$parentQuestion->questionMasterId."/".$parentQuestion->url.".html";
				
			}
				
				?>' style="text-decoration:none;font-size:12px;">Go Back</a></td>
        </tr>
      </table>
	

<?php include("footer.php"); ?>

